using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.ModelConfiguration;

namespace BaseData.Models.Mapping
{
    public class Web_ECH_Fund_List_OverViewMap : EntityTypeConfiguration<Web_ECH_Fund_List_OverView>
    {
        public Web_ECH_Fund_List_OverViewMap()
        {
            // Primary Key
            this.HasKey(t => t.PkId);

            // Properties
            // Table & Column Mappings
            this.ToTable("Web_ECH_Fund_List_OverView");
            this.Property(t => t.PkId).HasColumnName("PkId");
            this.Property(t => t.FundId).HasColumnName("FundId");
            this.Property(t => t.OfferId).HasColumnName("OfferId");
            this.Property(t => t.Amount).HasColumnName("Amount");
            this.Property(t => t.Balance).HasColumnName("Balance");
            this.Property(t => t.ChargeId).HasColumnName("ChargeId");
            this.Property(t => t.FlagStatus).HasColumnName("FlagStatus");
        }
    }
}
